create

abstract fun create(blockType: DesignBlockType): DesignBlock

Create a new block.

Return

the created blocks handle.

Parameters

blockType

the type of the block that shall be created.


abstract fun create(blockType: String): DesignBlock

Deprecated

Use type safe overload instead.

Replace with

this.create(DesignBlockType.)

Create a new block.

Return

the created blocks handle.

Parameters

blockType

the type of the block that shall be created.